package com.atguigu.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author : leimingchao
 * @date Date : 2021年10月16日 23:51
 */
@Controller
public class HelloController {

    @GetMapping(value = "/abc")
    public String hello(Model model) {
        model.addAttribute("message","你好");
        return "success";
    }
}
